<?php

class m130722_141655_InsertDataPostTable extends CDbMigration
{
	public function up()
	{
		$this->execute("
			INSERT INTO `post` VALUES ('1', 'test', 'test', '1page_img1.jpg', '1', '1', '1', '2013-07-22 21:13:29', null);
			INSERT INTO `post` VALUES ('2', 'test lan 2', 'Praesent vestibulum molestie lacus. Aenean nonummy hendrerit mauris. Phasellus porta. Fusce suscipit varius mi. Cum\r\n	                        sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla dui. Fusce feugiat malesuada odio.  Morbi nunc odio, gravida at, cursus nec, luctus a, lorem. Maecenas tristique orci ac sem.<br> Duis ultricies pharetra\r\n	                    magna. Donec accumsan malesuada orci. Donec sit amet eros. ', '1page_img2.jpg', '1', '1', '1', '2013-07-22 21:13:31', null);
			INSERT INTO `post` VALUES ('3', 'Eiusmod tempor', 'Lorem set magna ipsum dolor sit amet, consect etur adipisicing elit, sed do eiusmod dipisicing<br> elit, sed do eiusmod tempor incid ', '1page_img3.jpg', '3', '1', '1', '2013-07-22 21:13:32', null);
			INSERT INTO `post` VALUES ('4', 'Do eiusmod lorem set', 'Lorem ipsum dolor sit amet, consectetur adipi sicing elit, sed do eiusmod. Lorem ipsum dolor<br> sit amet, consectetur adipisicing elit, sed do eiusmod tempor incid', '1page_img4.jpg', '2', '1', '1', '2013-07-22 21:13:36', null);
			INSERT INTO `post` VALUES ('5', 'Eiusmod tempor 1', 'Do eiusmod lorem set', '1page_img5.jpg', '4', '1', '1', '2013-07-22 21:13:38', null);
			INSERT INTO `post` VALUES ('6', 'Do eiusmod lorem set 2', 'Lorem set magna ipsum dolor sit amet, consect etur adipisicing elit, sed do eiusmod dipisicing<br> elit, sed do eiusmod tempor incid ', '1page_img6.jpg', '4', '1', '1', '2013-07-22 21:13:23', null);
			INSERT INTO `post` VALUES ('7', 'Eiusmod tempor 3', 'Do eiusmod lorem set', '1page_img7.jpg', '4', '1', '1', '2013-07-22 21:13:47', null);
			INSERT INTO `post` VALUES ('8', 'Do eiusmod lorem set', 'Lorem set magna ipsum dolor sit amet, consect etur adipisicing elit, sed do eiusmod dipisicing<br> elit, sed do eiusmod tempor incid ', '1page_img6.jpg', '3', '1', '1', '2013-07-22 21:13:24', null);
			INSERT INTO `post` VALUES ('9', 'Eiusmod tempor', 'Do eiusmod lorem set', '1page_img3.jpg', '2', '1', '1', '2013-07-22 21:13:53', null);
			INSERT INTO `post` VALUES ('10', 'test careers', 'Praesent vestibulum molestie lacus. Aenean nonummy hendrerit mauris. Phasellus porta. Fusce suscipit varius mi. Cum sociis', '1page_img2.jpg', '5', '1', '1', '2013-07-22 21:13:56', null);
			INSERT INTO `post` VALUES ('11', 'Aenean auctor wisi 1', '        natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla dui.', '1page_img5.jpg', '5', '1', '1', '2013-07-22 21:14:00', null);"
		);
	}

	public function down()
	{
		echo "m130722_141655_InsertDataPostTable does not support migration down.\n";
		return false;
	}

	/*
	// Use safeUp/safeDown to do migration with transaction
	public function safeUp()
	{
	}

	public function safeDown()
	{
	}
	*/
}